import pytest
from log import log_caiji,yj
import os
if __name__ == '__main__':
    log_caiji()
    pytest.main(["-s","yw.py","--alluredir=报告数据","--clean-alluredir"])
    os.system("allure generate 报告数据 -o 测试报告 --clean")
    yj(["log.log","测试报告/index.html"])